﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using The_Chronicles_of_Asku.Areas.Tomb_Floors._20_30._20_25.Resources;
using The_Chronicles_of_Asku.Characters;
using The_Chronicles_of_Asku.Characters.Mobs.Bosses.Floors_25_30_Leveling;

namespace The_Chronicles_of_Asku.Areas.Tomb_Floors._20_30._20_25
{
    class FloorTwentyFive
    {
        Hero myHero = new Hero();
        Aphorian Aphorian = new Aphorian();
        AphorianBattle battle = new AphorianBattle();

        public void theFloor(Hero myHero, Mob mob)
        {
            Console.WriteLine(FloorTwentyFiveText.Entrance);
            ClearScreen();

            battle.Fight(myHero, Aphorian);
            myHero.ResetStats(myHero);
            Aphorian.ResetStats(Aphorian);
            ClearScreen();

            if (myHero.isAlive == true)
            {
                Console.WriteLine(FloorTwentyFiveText.Finished);
                ClearScreen();
            }

            else if (myHero.isAlive == false)
            {
                Console.WriteLine(FloorTwentyFiveText.Dead);
                myHero.isAlive = true;
                ClearScreen();
            }
        }

        private void ClearScreen()
        {
            Console.ReadKey();
            Console.Clear();
        }
    }
}